package homework.day03;

import java.util.Scanner;

/**
 * @author ThinkBook
 */
public class Test12 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输⼊⼀个15以内的正整数：");
        int num = scanner.nextInt();
        System.out.print(num + "=");
        for (int i = 2; i <= num; i++) {
            while (num % i == 0) {
                System.out.print(i);
                num /= i;
                if (num != 1) {
                    System.out.print("*");
                }
            }
        }
    }
}
